package com.spring.common.web.model;

public class CommonOa {
	private String tablename;
	private String id;
	private String dept_id;
	private String dept_name;
	private String user_id;
	private String user_name;
	private String status;
	private String stateName;
	//rk(入库),ck(出库)
	private String type;//流程类型，如果是入库流程，则需要更新库存数量
	public String getStateName() {
		return stateName;
	}
	public void setStateName(String statusName) {
		
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
		switch(status){
			case "0":this.stateName="初始化";break;
			case "10":this.stateName="正常";break;
			case "20":this.stateName="删除";break;
			case "2":this.stateName="提交待审核";break;
			case "3":this.stateName="审核中";break;
			case "4":this.stateName="退回";break;
		}
	}
	public String getTablename() {
		return tablename;
	}
	public void setTablename(String tablename) {
		this.tablename = tablename;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getDept_id() {
		return dept_id;
	}
	public void setDept_id(String dept_id) {
		this.dept_id = dept_id;
	}
	public String getDept_name() {
		return dept_name;
	}
	public void setDept_name(String dept_name) {
		this.dept_name = dept_name;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	
}
